-------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Users/yannakrupnikov/Dropbox/Turnover2/Updated Data and Do File/Replication Materials Final/Replication SI 1 and 
> 2 DONE/New Logs/Table_1.1.log
  log type:  text
 opened on:  22 Feb 2018, 14:51:15

. do "/var/folders/6_/whs9p_gd7k1gzplfk07y_0vr0000gn/T//SD47713.000000"

. **SI Section 1
. use "vetoandappointment.dta"

. **SI Table 1.1, Model 1
. reg pctelect1 i.balance01##c.prof termlim  tleffect redist  mmds chpart fraction divgov unemployment pres2 y1982 y1984 y1986 
> y1988 y1990 y1992 y1994 y1996 

      Source |       SS           df       MS      Number of obs   =       811
-------------+----------------------------------   F(20, 790)      =     26.41
       Model |  557.519014        20  27.8759507   Prob > F        =    0.0000
    Residual |  833.857751       790  1.05551614   R-squared       =    0.4007
-------------+----------------------------------   Adj R-squared   =    0.3855
       Total |  1391.37676       810  1.71774909   Root MSE        =    1.0274

----------------------------------------------------------------------------------
       pctelect1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
     1.balance01 |   .3059215   .1779792     1.72   0.086    -.0434466    .6552896
            prof |  -1.689422   .3106461    -5.44   0.000    -2.299211   -1.079632
                 |
balance01#c.prof |
              1  |  -2.058603   .8467558    -2.43   0.015    -3.720761    -.396446
                 |
         termlim |  -.0058562    .142443    -0.04   0.967    -.2854677    .2737554
        tleffect |   .0001518   .0000516     2.94   0.003     .0000505    .0002532
          redist |   .2184687   .1476287     1.48   0.139    -.0713223    .5082597
            mmds |   .2347143   .0906584     2.59   0.010     .0567545    .4126741
          chpart |  -.2591725   .4205118    -0.62   0.538    -1.084625    .5662802
        fraction |  -2.200552   .1683586   -13.07   0.000    -2.531035   -1.870069
          divgov |  -.0870004   .0762134    -1.14   0.254    -.2366052    .0626044
    unemployment |   .0386133   .0395689     0.98   0.329    -.0390593    .1162859
           pres2 |  -.4782876   .1602683    -2.98   0.003    -.7928897   -.1636855
           y1982 |   1.163144   .2648884     4.39   0.000     .6431759    1.683113
           y1984 |   .9582783   .1945869     4.92   0.000     .5763098    1.340247
           y1986 |   .3254775   .1753229     1.86   0.064    -.0186763    .6696312
           y1988 |   .5481126   .1821163     3.01   0.003     .1906235    .9056016
           y1990 |   .6137237   .1726541     3.55   0.000     .2748086    .9526388
           y1992 |   1.603872   .2205973     7.27   0.000     1.170845    2.036898
           y1994 |   1.147759   .2427184     4.73   0.000     .6713097    1.624208
           y1996 |   .8643267   .1842702     4.69   0.000     .5026095    1.226044
           _cons |   4.284979   .2029691    21.11   0.000     3.886557    4.683402
----------------------------------------------------------------------------------

. 
. **SI Table 1.1, Model 2
. reg pctelect1 i.balance01##c.prof termlim  tleffect redist  mmds chpart fraction divgov unemployment pres2 

      Source |       SS           df       MS      Number of obs   =       811
-------------+----------------------------------   F(12, 798)      =     34.88
       Model |  478.725287        12  39.8937739   Prob > F        =    0.0000
    Residual |  912.651477       798  1.14367353   R-squared       =    0.3441
-------------+----------------------------------   Adj R-squared   =    0.3342
       Total |  1391.37676       810  1.71774909   Root MSE        =    1.0694

----------------------------------------------------------------------------------
       pctelect1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
     1.balance01 |   .2722203   .1841062     1.48   0.140    -.0891693      .63361
            prof |  -1.731892   .3207274    -5.40   0.000    -2.361461   -1.102323
                 |
balance01#c.prof |
              1  |  -1.814567   .8742776    -2.08   0.038    -3.530722   -.0984115
                 |
         termlim |   -.095801   .1255487    -0.76   0.446    -.3422456    .1506437
        tleffect |   .0001735     .00005     3.47   0.001     .0000753    .0002717
          redist |   .8755157   .1039133     8.43   0.000       .67154    1.079491
            mmds |   .2331623   .0929655     2.51   0.012     .0506765    .4156481
          chpart |    1.09343   .2723645     4.01   0.000     .5587942    1.628065
        fraction |  -2.014251   .1714678   -11.75   0.000    -2.350832    -1.67767
          divgov |  -.0599002   .0783079    -0.76   0.445     -.213614    .0938136
    unemployment |   .0766706   .0294971     2.60   0.010     .0187696    .1345716
           pres2 |  -.2010535   .0798002    -2.52   0.012    -.3576966   -.0444104
           _cons |   4.274949   .1890507    22.61   0.000     3.903853    4.646044
----------------------------------------------------------------------------------

. 
. **SI Table 1.1, Model 3
. reg pctelect1 i.balance01##c.prof termlim  tleffect redist mmds chpart fraction divgov pres2 unemployment govappt govveto y19
> 82 y1984 y1986 y1988 y1990 y1992 y1994 y1996

      Source |       SS           df       MS      Number of obs   =       811
-------------+----------------------------------   F(22, 788)      =     24.09
       Model |  559.554452        22  25.4342933   Prob > F        =    0.0000
    Residual |  831.822313       788  1.05561207   R-squared       =    0.4022
-------------+----------------------------------   Adj R-squared   =    0.3855
       Total |  1391.37676       810  1.71774909   Root MSE        =    1.0274

----------------------------------------------------------------------------------
       pctelect1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
     1.balance01 |   .2810839    .183593     1.53   0.126    -.0793053    .6414731
            prof |  -1.641242   .3185035    -5.15   0.000    -2.266457   -1.016026
                 |
balance01#c.prof |
              1  |  -1.926292   .8668958    -2.22   0.027     -3.62799    -.224594
                 |
         termlim |   .0014968   .1425621     0.01   0.992    -.2783496    .2813431
        tleffect |   .0001443   .0000523     2.76   0.006     .0000417    .0002469
          redist |   .2127796   .1476939     1.44   0.150    -.0771404    .5026996
            mmds |   .2391545   .0927467     2.58   0.010     .0570946    .4212144
          chpart |  -.3254089    .426054    -0.76   0.445    -1.161744    .5109261
        fraction |  -2.214383    .168739   -13.12   0.000    -2.545614   -1.883152
          divgov |  -.0857332   .0765753    -1.12   0.263    -.2360489    .0645825
           pres2 |   -.476449   .1602813    -2.97   0.003    -.7910778   -.1618201
    unemployment |   .0363793   .0396267     0.92   0.359    -.0414071    .1141657
         govappt |  -.0509335   .0367479    -1.39   0.166    -.1230689    .0212019
         govveto |  -.0089601   .0332078    -0.27   0.787    -.0741464    .0562262
           y1982 |   1.200337   .2663446     4.51   0.000     .6775086    1.723166
           y1984 |   .9689402   .1948781     4.97   0.000     .5863986    1.351482
           y1986 |    .344783   .1760792     1.96   0.051    -.0008568    .6904228
           y1988 |   .5562925   .1822452     3.05   0.002      .198549     .914036
           y1990 |   .6301786   .1730682     3.64   0.000     .2904495    .9699078
           y1992 |   1.621647   .2210042     7.34   0.000     1.187821    2.055474
           y1994 |   1.165112   .2435213     4.78   0.000     .6870846    1.643139
           y1996 |   .8671413   .1844586     4.70   0.000      .505053     1.22923
           _cons |    4.48953   .2954119    15.20   0.000     3.909642    5.069417
----------------------------------------------------------------------------------

. 
. **SI Table 1.1, Model 4
. xtset year
       panel variable:  year (unbalanced)

. xtreg pctelect1 i.balance01##c.prof termlim  tleffect redist  mmds chpart fraction divgov unemployment pres2, re

Random-effects GLS regression                   Number of obs     =        811
Group variable: year                            Number of groups  =         10

R-sq:                                           Obs per group:
     within  = 0.2408                                         min =         70
     between = 0.8597                                         avg =       81.1
     overall = 0.3441                                         max =         86

                                                Wald chi2(12)     =     418.59
corr(u_i, X)   = 0 (assumed)                    Prob > chi2       =     0.0000

----------------------------------------------------------------------------------
       pctelect1 |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
     1.balance01 |   .2722203   .1841062     1.48   0.139    -.0886211    .6330618
            prof |  -1.731892   .3207274    -5.40   0.000    -2.360506   -1.103277
                 |
balance01#c.prof |
              1  |  -1.814567   .8742776    -2.08   0.038     -3.52812   -.1010144
                 |
         termlim |   -.095801   .1255487    -0.76   0.445    -.3418718    .1502699
        tleffect |   .0001735     .00005     3.47   0.001     .0000754    .0002715
          redist |   .8755157   .1039133     8.43   0.000     .6718494    1.079182
            mmds |   .2331623   .0929655     2.51   0.012     .0509533    .4153713
          chpart |    1.09343   .2723645     4.01   0.000     .5596051    1.627254
        fraction |  -2.014251   .1714678   -11.75   0.000    -2.350322    -1.67818
          divgov |  -.0599002   .0783079    -0.76   0.444    -.2133808    .0935805
    unemployment |   .0766706   .0294971     2.60   0.009     .0188574    .1344838
           pres2 |  -.2010535   .0798002    -2.52   0.012     -.357459    -.044648
           _cons |   4.274949   .1890507    22.61   0.000     3.904416    4.645481
-----------------+----------------------------------------------------------------
         sigma_u |          0
         sigma_e |  1.0273832
             rho |          0   (fraction of variance due to u_i)
----------------------------------------------------------------------------------

. 
. **SI Table 1.1, Model 5
. tobit pctelect1 i.balance01##c.prof termlim  tleffect redist mmds chpart fraction divgov pres2 unemployment y1982 y1984 y1986
>  y1988 y1990 y1992 y1994 y1996 , ul ll 

Tobit regression                                Number of obs     =        811
                                                LR chi2(20)       =     413.60
                                                Prob > chi2       =     0.0000
Log likelihood = -1167.0138                     Pseudo R2         =     0.1505

----------------------------------------------------------------------------------
       pctelect1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
     1.balance01 |     .30619   .1767917     1.73   0.084    -.0408464    .6532263
            prof |  -1.717025    .308954    -5.56   0.000    -2.323492   -1.110558
                 |
balance01#c.prof |
              1  |  -2.053337   .8410955    -2.44   0.015     -3.70438   -.4022939
                 |
         termlim |  -.0070396    .141547    -0.05   0.960    -.2848919    .2708126
        tleffect |   .0001518   .0000513     2.96   0.003     .0000511    .0002525
          redist |   .2187788   .1466339     1.49   0.136    -.0690588    .5066163
            mmds |   .2297338    .090144     2.55   0.011     .0527841    .4066836
          chpart |  -.2561258   .4177281    -0.61   0.540    -1.076113    .5638609
        fraction |  -2.202213   .1673138   -13.16   0.000    -2.530645   -1.873782
          divgov |    -.08236   .0757558    -1.09   0.277    -.2310661    .0663461
           pres2 |   -.500358   .1594794    -3.14   0.002     -.813411   -.1873051
    unemployment |   .0394625   .0393121     1.00   0.316    -.0377058    .1166307
           y1982 |   1.164754   .2631146     4.43   0.000      .648269     1.68124
           y1984 |   .9825528   .1935677     5.08   0.000     .6025856     1.36252
           y1986 |   .3259442   .1741462     1.87   0.062    -.0158991    .6677874
           y1988 |   .5674452   .1812058     3.13   0.002     .2117442    .9231462
           y1990 |   .6126639   .1714934     3.57   0.000      .276028    .9492998
           y1992 |   1.623429   .2193211     7.40   0.000     1.192909     2.05395
           y1994 |   1.146984   .2411001     4.76   0.000      .673712    1.620256
           y1996 |   .8851078   .1832555     4.83   0.000     .5253832    1.244833
           _cons |   4.290452   .2016819    21.27   0.000     3.894557    4.686347
-----------------+----------------------------------------------------------------
          /sigma |   1.020494   .0254847                      .9704688     1.07052
----------------------------------------------------------------------------------
             5  left-censored observations at pctelect1 <= 0
           805     uncensored observations
             1 right-censored observation  at pctelect1 >= 8.1999998

. 
. **SI Table 1.1, Model 6
. reg pctelect1 i.balance01##c.prof termlim  tleffect redist  mmds chpart fraction divgov unemployment pres2, robust

Linear regression                               Number of obs     =        811
                                                F(12, 798)        =      32.12
                                                Prob > F          =     0.0000
                                                R-squared         =     0.3441
                                                Root MSE          =     1.0694

----------------------------------------------------------------------------------
                 |               Robust
       pctelect1 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
     1.balance01 |   .2722203   .1718063     1.58   0.113    -.0650253     .609466
            prof |  -1.731892    .307552    -5.63   0.000    -2.335598   -1.128185
                 |
balance01#c.prof |
              1  |  -1.814567   .8724102    -2.08   0.038    -3.527057   -.1020771
                 |
         termlim |   -.095801   .1374189    -0.70   0.486    -.3655461    .1739442
        tleffect |   .0001735   .0000501     3.47   0.001     .0000752    .0002717
          redist |   .8755157   .1165749     7.51   0.000      .646686    1.104345
            mmds |   .2331623   .0955672     2.44   0.015     .0455696     .420755
          chpart |    1.09343   .2631075     4.16   0.000      .576965    1.609894
        fraction |  -2.014251   .2078034    -9.69   0.000    -2.422157   -1.606345
          divgov |  -.0599002   .0785115    -0.76   0.446    -.2140136    .0942132
    unemployment |   .0766706   .0314745     2.44   0.015     .0148881    .1384532
           pres2 |  -.2010535   .0780159    -2.58   0.010    -.3541941   -.0479129
           _cons |   4.274949   .2239686    19.09   0.000     3.835311    4.714586
----------------------------------------------------------------------------------

.  
. 
end of do-file

. log close
      name:  <unnamed>
       log:  /Users/yannakrupnikov/Dropbox/Turnover2/Updated Data and Do File/Replication Materials Final/Replication SI 1 and 
> 2 DONE/New Logs/Table_1.1.log
  log type:  text
 closed on:  22 Feb 2018, 14:51:33
-------------------------------------------------------------------------------------------------------------------------------
